package com.example.liyuehui.paging.presenter;

import android.arch.lifecycle.GenericLifecycleObserver;
import android.arch.lifecycle.Lifecycle;
import android.arch.lifecycle.LifecycleOwner;
import android.util.Log;

public class DemoPresenter implements GenericLifecycleObserver {

	@Override
	public void onStateChanged(LifecycleOwner source, Lifecycle.Event event) {
		Log.e("DemoPresent", "DemoPresent:" + event.name());
	}
}
